#pragma once

#include <QtCore/qglobal.h>
#if QT_VERSION >= 0x050000
#include <QtWidgets/QWidget>
#else
#include <QtGui/QWidget>
#endif

class HeaderSection : public QWidget
{
    Q_OBJECT
public:
    explicit HeaderSection(QString title, QWidget *parent = nullptr);

    void paintEvent(QPaintEvent *event) override ;

    void setTitle(QString title){this->title = title;};

    QString title="title";
};

